<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.time.php';
require '../core/core.attendance.php';

$login=new core_security;
if ($login->checklogin()=="OK") {


$attend=new core_attendance;

echo $attend->computefromtasks();




}
